<!-- 系统自动生成 Date:2021-06-11 10:29 -->
<#include "/common/defaultEngine.html"/>
<@pageTheme mark="${config.optimize()?string('true', 'false')}">
<@header title="【请填写功能名称】列表" bodyClass="gray-bg animated fadeInRight" isAnimation=false libs=["table","zTree","layout-latest"]/>
<div class="container-div">
    <div class="row">
        <div class="col-sm-12 search-collapse">
            <@f.form id="shop-form" class="form-inline">
                <div class="select-list">
                    <ul>
                        <li>
                            <label> <@ctx.i18n text = "aboutUrl"/>：</label>
                            <@f.input placeholder="aboutUrl" name="aboutUrl"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "accountPeriod"/>：</label>
                            <@f.input placeholder="accountPeriod" name="accountPeriod"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "addTime"/>：</label>
                            <@f.input placeholder="addTime" name="addTime"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "area"/>：</label>
                            <@f.input placeholder="area" name="area"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "areaStr"/>：</label>
                            <@f.input placeholder="areaStr" name="areaStr"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "bankAccountName"/>：</label>
                            <@f.input placeholder="bankAccountName" name="bankAccountName"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "bankName"/>：</label>
                            <@f.input placeholder="bankName" name="bankName"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "bankNum"/>：</label>
                            <@f.input placeholder="bankNum" name="bankNum"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "businessScope"/>：</label>
                            <@f.input placeholder="businessScope" name="businessScope"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "city"/>：</label>
                            <@f.input placeholder="city" name="city"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "company"/>：</label>
                            <@f.input placeholder="company" name="company"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "companyAddress"/>：</label>
                            <@f.input placeholder="companyAddress" name="companyAddress"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "contactCell"/>：</label>
                            <@f.input placeholder="contactCell" name="contactCell"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "contactName"/>：</label>
                            <@f.input placeholder="contactName" name="contactName"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "contactUrl"/>：</label>
                            <@f.input placeholder="contactUrl" name="contactUrl"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "deleted"/>：</label>
                            <@f.input placeholder="deleted" name="deleted"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "headImg"/>：</label>
                            <@f.input placeholder="headImg" name="headImg"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "homeOrAbroad"/>：</label>
                            <@f.input placeholder="homeOrAbroad" name="homeOrAbroad"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "iDcardUrl"/>：</label>
                            <@f.input placeholder="iDcardUrl" name="iDcardUrl"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "iDcardUrl2"/>：</label>
                            <@f.input placeholder="iDcardUrl2" name="iDcardUrl2"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "isSpecial"/>：</label>
                            <@f.input placeholder="isSpecial" name="isSpecial"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "legalPerson"/>：</label>
                            <@f.input placeholder="legalPerson" name="legalPerson"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "licenseNum"/>：</label>
                            <@f.input placeholder="licenseNum" name="licenseNum"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "licenseUrl"/>：</label>
                            <@f.input placeholder="licenseUrl" name="licenseUrl"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "logo"/>：</label>
                            <@f.input placeholder="logo" name="logo"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "logoUrl"/>：</label>
                            <@f.input placeholder="logoUrl" name="logoUrl"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "materials"/>：</label>
                            <@f.input placeholder="materials" name="materials"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "name"/>：</label>
                            <@f.input placeholder="name" name="name"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "orgId"/>：</label>
                            <@f.input placeholder="orgId" name="orgId"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "percentPay"/>：</label>
                            <@f.input placeholder="percentPay" name="percentPay"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "province"/>：</label>
                            <@f.input placeholder="province" name="province"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "saleArea"/>：</label>
                            <@f.input placeholder="saleArea" name="saleArea"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "servArea"/>：</label>
                            <@f.input placeholder="servArea" name="servArea"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "servCity"/>：</label>
                            <@f.input placeholder="servCity" name="servCity"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "servProvince"/>：</label>
                            <@f.input placeholder="servProvince" name="servProvince"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "serviceArea"/>：</label>
                            <@f.input placeholder="serviceArea" name="serviceArea"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "serviceHotline"/>：</label>
                            <@f.input placeholder="serviceHotline" name="serviceHotline"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "shopNature"/>：</label>
                            <@f.input placeholder="shopNature" name="shopNature"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "spuSort"/>：</label>
                            <@f.input placeholder="spuSort" name="spuSort"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "status"/>： </label>
                            <select name="status">
                            <option value="">所有</option>
                            </select>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "summary"/>：</label>
                            <@f.input placeholder="summary" name="summary"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "taxNum"/>：</label>
                            <@f.input placeholder="taxNum" name="taxNum"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "taxStatus"/>： </label>
                            <select name="taxStatus">
                            <option value="">所有</option>
                            </select>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "taxUrl"/>：</label>
                            <@f.input placeholder="taxUrl" name="taxUrl"/>
                        </li>
                        <li>
                            <label> <@ctx.i18n text = "userId"/>：</label>
                            <@f.input placeholder="userId" name="userId"/>
                        </li>
                        <li>
                            <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;&nbsp;<@ctx.i18n text = "查询"/></a>
                            <a class="btn btn-warning btn-rounded btn-sm" onclick="opt.form.reset()"><i class="fa fa-refresh"></i>&nbsp;<@ctx.i18n text = "重置"/></a>
                        </li>
                    </ul>
                </div>
            </@f.form>
        </div>
        <@table id="bootstrap-table">
            <@shiro.hasPermission name=":shop:add">
                <a class="btn btn-success" onclick=" opt.operate.add()"><i class="fa fa-plus"></i>&nbsp;<@ctx.i18n text = "新增"/></a>
            </@shiro.hasPermission>
            <@shiro.hasPermission name=":shop:edit">
                <a class="btn btn-primary single disabled" onclick=" opt.operate.edit()"><i class="fa fa-pencil-square-o"></i>&nbsp;<@ctx.i18n text = "修改"/></a>
            </@shiro.hasPermission>
            <@shiro.hasPermission name=":shop:del">
                <a class="btn btn-danger multiple disabled" onclick="opt.operate.delAll()"><i class="fa fa-remove"></i> <@ctx.i18n text = "删除"/></a>
            </@shiro.hasPermission>
        </@table>
    </div>
</div>
<@footer>
<script type="text/javascript">
    var editFlag = "${permission.hasPermi(":shop:edit")}";
    var listFlag = "${permission.hasPermi(":shop:add")}";
    var delFlag = "${permission.hasPermi(":shop:del")}";
    var visible = ${permission.isPermitteds(":shop:edit,:shop:del,:shop:add")?string('true', 'false')};
    var prefix = baseURL + "/shop";

    $(function() {
        var options = {
            url: prefix + "/list",
            addUrl: prefix + "/add",
            editUrl: prefix + "/edit/{id}",
            delUrl: prefix + "/del",
            modalName: "【请填写功能名称】",
            uniqueId:  'pkId',/* 唯一ID */
            escape: true,/* 分页设置 */
            showPageGo: true,/* 分页设置 */
            pageSize: 10,/* 分页设置 */
            pageList: [10, 30, 50],/* 分页设置 */
            columns:[
                {title: $.i18n.prop("序号"), width: 5, align: "center", formatter: function (value, row, index) {
                    return $.table.serialNumber(index);
                }}
                ,{field : 'pkId',title : '<@ctx.i18n text = "pkId"/>',visible: false}
                ,{field : 'aboutUrl',title : '<@ctx.i18n text = "aboutUrl"/>'}
                ,{field : 'accountPeriod',title : '<@ctx.i18n text = "accountPeriod"/>'}
                ,{field : 'addTime',title : '<@ctx.i18n text = "addTime"/>'}
                ,{field : 'area',title : '<@ctx.i18n text = "area"/>'}
                ,{field : 'areaStr',title : '<@ctx.i18n text = "areaStr"/>'}
                ,{field : 'bankAccountName',title : '<@ctx.i18n text = "bankAccountName"/>'}
                ,{field : 'bankName',title : '<@ctx.i18n text = "bankName"/>'}
                ,{field : 'bankNum',title : '<@ctx.i18n text = "bankNum"/>'}
                ,{field : 'businessScope',title : '<@ctx.i18n text = "businessScope"/>'}
                ,{field : 'city',title : '<@ctx.i18n text = "city"/>'}
                ,{field : 'company',title : '<@ctx.i18n text = "company"/>'}
                ,{field : 'companyAddress',title : '<@ctx.i18n text = "companyAddress"/>'}
                ,{field : 'contactCell',title : '<@ctx.i18n text = "contactCell"/>'}
                ,{field : 'contactName',title : '<@ctx.i18n text = "contactName"/>'}
                ,{field : 'contactUrl',title : '<@ctx.i18n text = "contactUrl"/>'}
                ,{field : 'deleted',title : '<@ctx.i18n text = "deleted"/>'}
                ,{field : 'headImg',title : '<@ctx.i18n text = "headImg"/>'}
                ,{field : 'homeOrAbroad',title : '<@ctx.i18n text = "homeOrAbroad"/>'}
                ,{field : 'iDcardUrl',title : '<@ctx.i18n text = "iDcardUrl"/>'}
                ,{field : 'iDcardUrl2',title : '<@ctx.i18n text = "iDcardUrl2"/>'}
                ,{field : 'isSpecial',title : '<@ctx.i18n text = "isSpecial"/>'}
                ,{field : 'legalPerson',title : '<@ctx.i18n text = "legalPerson"/>'}
                ,{field : 'licenseNum',title : '<@ctx.i18n text = "licenseNum"/>'}
                ,{field : 'licenseUrl',title : '<@ctx.i18n text = "licenseUrl"/>'}
                ,{field : 'logo',title : '<@ctx.i18n text = "logo"/>'}
                ,{field : 'logoUrl',title : '<@ctx.i18n text = "logoUrl"/>'}
                ,{field : 'materials',title : '<@ctx.i18n text = "materials"/>'}
                ,{field : 'name',title : '<@ctx.i18n text = "name"/>'}
                ,{field : 'orgId',title : '<@ctx.i18n text = "orgId"/>'}
                ,{field : 'percentPay',title : '<@ctx.i18n text = "percentPay"/>'}
                ,{field : 'province',title : '<@ctx.i18n text = "province"/>'}
                ,{field : 'saleArea',title : '<@ctx.i18n text = "saleArea"/>'}
                ,{field : 'servArea',title : '<@ctx.i18n text = "servArea"/>'}
                ,{field : 'servCity',title : '<@ctx.i18n text = "servCity"/>'}
                ,{field : 'servProvince',title : '<@ctx.i18n text = "servProvince"/>'}
                ,{field : 'serviceArea',title : '<@ctx.i18n text = "serviceArea"/>'}
                ,{field : 'serviceHotline',title : '<@ctx.i18n text = "serviceHotline"/>'}
                ,{field : 'shopNature',title : '<@ctx.i18n text = "shopNature"/>'}
                ,{field : 'spuSort',title : '<@ctx.i18n text = "spuSort"/>'}
                ,{field : 'status',title : '<@ctx.i18n text = "status"/>'}
                ,{field : 'summary',title : '<@ctx.i18n text = "summary"/>'}
                ,{field : 'taxNum',title : '<@ctx.i18n text = "taxNum"/>'}
                ,{field : 'taxStatus',title : '<@ctx.i18n text = "taxStatus"/>'}
                ,{field : 'taxUrl',title : '<@ctx.i18n text = "taxUrl"/>'}
                ,{field : 'userId',title : '<@ctx.i18n text = "userId"/>'}
                ,{title:"<@ctx.i18n text = "操作"/>",align: 'center',visible:visible,formatter: function(value, row, index) {
                    var actions = [];
                    actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick=" opt.operate.edit(\'' + row.pkId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
                    actions.push('<a class="btn btn-danger btn-xs ' + delFlag + '" href="javascript:void(0)" onclick="opt.operate.del(\'' + row.pkId + '\')"><i class="fa fa-remove"></i>删除</a>');
                    return actions.join('');
                }}
            ]
        };
        $.table.init(options);
    });
</script>
</@footer>
</@pageTheme>